Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve time management + improve evaluation + improve move ordering #6

Merged
merged 4 commits into from
Mar 6, 2025

Conversation

hansbinderup
Copy link
Owner

See each commit for details.

This commit clean up time handling when playing eg. lichess games where
there is no max moves rule.
This is definitely not final, but it's better than before.

Also removed some commented out code. Sorry..

Signed-off-by: Hans Binderup <[email protected]>
The PV table would previously have the same size as the max search
depth. This is problematic as the copy of moves will be into n+1.
Therefore we need an extra layer hence increasing the size of the tables
by one.

Without this the tables will overflow when reaching the max search
depth.

Signed-off-by: Hans Binderup <[email protected]>
Instead of our simple eval it was time to implement a more sophisticated
material evaluation.
A common evaluation method is called "pesto". Read more here:
https://www.chessprogramming.org/PeSTO%27s_Evaluation_Function

Signed-off-by: Hans Binderup <[email protected]>
Promotion moves are usually quite good, so let's try them first as well.

Signed-off-by: Hans Binderup <[email protected]>
@hansbinderup hansbinderup merged commit 7a989d6 into main Mar 6, 2025
3 checks passed
@hansbinderup hansbinderup deleted the hansbinderup/improve-time-handling branch March 6, 2025 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant